﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Thanhlichtek.BOS.Bullhorn.BullhornApi;

namespace Thanhlichtek.BOS.Win
{
    public partial class DetailsForm : Form
    {
        public DetailsForm()
        {
            InitializeComponent();
        }

        public void SetListViewObjects(List<SyncInfoDetailObject> list)
        {
            objectListView1.SetObjects(list);
            objectListView1.BuildList();
        }

        public void SetListView2Objects(List<Ongage.ContactLookupResult> list)
        {
            //objectListView2.SetObjects(list);
            //objectListView2.BuildList();
        }

        private void DetailsForm_Load(object sender, EventArgs e)
        {
            objectListView1.ShowGroups = false;
            objectListView1.MultiSelect = false;
            objectListView1.FullRowSelect = true;
            objectListView1.UseHotItem = false;
            objectListView1.UseExplorerTheme = true;

            //objectListView2.ShowGroups = false;
            //objectListView2.MultiSelect = false;
            //objectListView2.FullRowSelect = true;
            //objectListView2.UseHotItem = false;
            //objectListView2.UseExplorerTheme = true;

        }
    }
}
